<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
	String path=request.getContextPath();
 	String basePaht=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/"+path+"/";
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>后台登录界面模板</title>

<link href="${pageContext.servletContext.contextPath}/css/bootstrap.min.css" rel="stylesheet">
<link href="${pageContext.servletContext.contextPath}/css/signin.css" rel="stylesheet">
</head>
<body>
<div class="signin">
	<div class="signin-head"><img src="${pageContext.servletContext.contextPath}/images/test/head_120.png" alt="" class="img-circle"></div>
	<form class="form-signin" role="form" action="${pageContext.servletContext.contextPath}/sys/login" method="post">
		<span style="color:red"><%=(String)request.getAttribute("error")==null?"":(String)request.getAttribute("error") %></span>
		<input type="text" class="form-control" name="name" placeholder="用户名" required autofocus />
		<input type="password" name="password" class="form-control" placeholder="密码" required />
		<button class="btn btn-lg btn-warning btn-block" type="submit">登录</button>
		<label class="checkbox">
			<input type="checkbox" value="remember-me"> 记住我
		</label>
	</form>
</div>

<div style="text-align:center;">

</div>
</body>
</html>